const promise1=new Promise((resolve,reject)=>{
  console.log('promise');  //1
  resolve('resolve1')
})


const promise2=promise1.then(res=>{
  console.log(res);  //4
  
})

console.log('1',promise1);  //2
console.log('2',promise2);  //3
